package com.duobaoyu.dby.supply.db.repository.refund;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.common.mybatis.base.DbyService;
import com.duobaoyu.dby.supply.common.biz.dto.refund.AfterSaleApplyQueryDTO;
import com.duobaoyu.dby.supply.common.biz.vo.refund.AfterSaleExportVO;
import com.duobaoyu.dby.supply.common.biz.vo.refund.AfterSaleListVO;
import com.duobaoyu.dby.supply.db.entity.refund.AfterSale;

/**
 * @author yw
 * @description
 * @date 2023/9/27 15:37
 */
public interface AfterSaleRepository extends DbyService<AfterSale> {
    long afterSaleExportCount(AfterSaleApplyQueryDTO afterSaleApplyQuery);

    Page<AfterSaleExportVO> queryExportPage(Page<Object> page, AfterSaleApplyQueryDTO afterSaleApplyQuery);

    boolean exists(Wrapper<AfterSale> queryWrapper);

    Page<AfterSaleListVO> queryPage(IPage<AfterSaleListVO> page, AfterSaleApplyQueryDTO afterSaleApplyQuery);
}
